home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / Hyper / F / FilmPro.cpt / Memos / background_2607.txt < prev    next >
Encoding:
Text File  |  1988-04-17  |  16.1 KB  |  745 lines

  1. -- background: 2607 from stack: in
  2. -- bmap block id: 5234
  3. -- flags: 4000
  4. -- background id: 0
  5. -- name: Prod. Notes Background
  6. ----- HyperTalk script -----
  7. on openstack
  8.   set lockscreen to true
  9.   hide background field "hidden keywords"
  10.  
  11.   domenu "last"
  12.   set lockscreen to false
  13. end openstack
  14.  
  15. on closestack
  16.   if the freesize of this stack > 0.15 * the size of this stack then
  17.     set cursor to 4
  18.     domenu "compact stack"
  19.   end if
  20. end closestack
  21.  
  22.  
  23.  
  24.  
  25. -- part 1 (button)
  26. -- low flags: 00
  27. -- high flags: 0000
  28. -- rect: left=253 top=25 right=58 bottom=297
  29. -- title width / last selected line: 0
  30. -- icon id / first selected line: 0 / 0
  31. -- text alignment: 1
  32. -- font id: 0
  33. -- text size: 12
  34. -- style flags: 0
  35. -- line height: 16
  36. -- part name: Keywords
  37. ----- HyperTalk script -----
  38. on mouseUp
  39.   play "harpsichord"
  40.   show background field "hidden keywords"
  41.   answer "New Keywords will replace old ones" with "Cancel" or "Okay"
  42.   if it is "okay" then
  43.     ask "Enter Keywords for Memo"
  44.     put it into background field "hidden keywords"
  45.   end if
  46.   hide background field "hidden keywords"
  47.  
  48.  
  49. end mouseUp
  50.  
  51.  
  52.  
  53. -- part 2 (button)
  54. -- low flags: 00
  55. -- high flags: 0000
  56. -- rect: left=310 top=28 right=57 bottom=340
  57. -- title width / last selected line: 0
  58. -- icon id / first selected line: 8538 / 8538
  59. -- text alignment: 1
  60. -- font id: 0
  61. -- text size: 12
  62. -- style flags: 0
  63. -- line height: 16
  64. -- part name: find
  65. ----- HyperTalk script -----
  66. on mouseUp
  67.   play harpsichord
  68.   domenu "find..."
  69. end mouseUp
  70.  
  71.  
  72.  
  73. -- part 3 (button)
  74. -- low flags: 00
  75. -- high flags: 0000
  76. -- rect: left=355 top=25 right=56 bottom=390
  77. -- title width / last selected line: 0
  78. -- icon id / first selected line: 20186 / 20186
  79. -- text alignment: 1
  80. -- font id: 0
  81. -- text size: 12
  82. -- style flags: 0
  83. -- line height: 16
  84. -- part name: Sort
  85. ----- HyperTalk script -----
  86. on mouseUp
  87.   play "harpsichord"
  88.   answer "Sort all cards according to:" with "Client" or  "Job #" or "Date"
  89.   if it is "Client" then
  90.     sort by first word of bkgnd field "client"
  91.   end if
  92.  
  93.  
  94.   if it is "Job #" then
  95.     sort numeric by first word of bkgnd field "Job #"
  96.   end if
  97.  
  98.   if it is "Date" then
  99.     sort  dateTime by first word of bkgnd field "date"
  100.   end if
  101.  
  102.  
  103.  
  104.  
  105. end mouseUp
  106.  
  107.  
  108.  
  109. -- part 4 (button)
  110. -- low flags: 00
  111. -- high flags: 0003
  112. -- rect: left=406 top=30 right=54 bottom=435
  113. -- title width / last selected line: 0
  114. -- icon id / first selected line: 10610 / 10610
  115. -- text alignment: 1
  116. -- font id: 0
  117. -- text size: 12
  118. -- style flags: 0
  119. -- line height: 16
  120. -- part name: Dial
  121. ----- HyperTalk script -----
  122. on mouseUp
  123.  
  124.   dial line 1 of bkgnd field "phone" with modem "ATDT"
  125.  
  126.  
  127.  
  128.  
  129.  
  130. end mouseUp
  131.  
  132.  
  133.  
  134. -- part 5 (button)
  135. -- low flags: 00
  136. -- high flags: 2000
  137. -- rect: left=247 top=315 right=334 bottom=270
  138. -- title width / last selected line: 0
  139. -- icon id / first selected line: 1014 / 1014
  140. -- text alignment: 1
  141. -- font id: 0
  142. -- text size: 12
  143. -- style flags: 0
  144. -- line height: 16
  145. -- part name: Prev
  146. ----- HyperTalk script -----
  147. on mouseUp
  148.   visual effect scroll right fast to black
  149.   visual effect scroll right fast
  150.   go to prev card
  151. end mouseUp
  152.  
  153.  
  154.  
  155. -- part 6 (button)
  156. -- low flags: 00
  157. -- high flags: 2000
  158. -- rect: left=273 top=315 right=335 bottom=296
  159. -- title width / last selected line: 0
  160. -- icon id / first selected line: 1013 / 1013
  161. -- text alignment: 1
  162. -- font id: 0
  163. -- text size: 12
  164. -- style flags: 0
  165. -- line height: 16
  166. -- part name: Next
  167. ----- HyperTalk script -----
  168. on mouseUp
  169.   visual effect scroll left fast to black
  170.   visual effect scroll left fast
  171.   go to next card
  172. end mouseUp
  173.  
  174.  
  175.  
  176. -- part 7 (button)
  177. -- low flags: 00
  178. -- high flags: 2000
  179. -- rect: left=212 top=28 right=56 bottom=246
  180. -- title width / last selected line: 0
  181. -- icon id / first selected line: 32462 / 32462
  182. -- text alignment: 1
  183. -- font id: 0
  184. -- text size: 12
  185. -- style flags: 0
  186. -- line height: 16
  187. -- part name: Button Help 
  188. ----- HyperTalk script -----
  189.  
  190. on mouseup
  191.   push this card
  192.   set cursor to 4
  193.   visual effect barn door open
  194.   go to stack "FilmPro Help"
  195. end mouseup
  196.  
  197.  
  198.  
  199. -- part 9 (button)
  200. -- low flags: 00
  201. -- high flags: 0000
  202. -- rect: left=451 top=25 right=58 bottom=490
  203. -- title width / last selected line: 0
  204. -- icon id / first selected line: 1007 / 1007
  205. -- text alignment: 1
  206. -- font id: 0
  207. -- text size: 12
  208. -- style flags: 0
  209. -- line height: 16
  210. -- part name: Print
  211. ----- HyperTalk script -----
  212. on mouseUp
  213.   play harpsichord
  214.   answer "Proceed with Printing?" with "This Card" or "This Stack" or "Cancel"
  215.   if it is "This Card" then domenu "Print card"
  216.   else if it is "This Stack" then domenu "Print stack..."
  217. end mouseUp
  218.  
  219.  
  220.  
  221. -- part 11 (button)
  222. -- low flags: 00
  223. -- high flags: 2000
  224. -- rect: left=3 top=217 right=257 bottom=41
  225. -- title width / last selected line: 65535
  226. -- icon id / first selected line: -15743 / 49793
  227. -- text alignment: 1
  228. -- font id: 0
  229. -- text size: 12
  230. -- style flags: 0
  231. -- line height: 16
  232. -- part name: Crews Stack Button
  233. ----- HyperTalk script -----
  234. on mouseUp
  235.   set cursor to 4
  236.   push this card
  237.   visual effect dissolve  to white
  238.   visual effect dissolve
  239.   go to stack "Crews"
  240. end mouseUp
  241.  
  242.  
  243.  
  244. -- part 12 (button)
  245. -- low flags: 00
  246. -- high flags: 2000
  247. -- rect: left=2 top=262 right=295 bottom=43
  248. -- title width / last selected line: 0
  249. -- icon id / first selected line: 9761 / 9761
  250. -- text alignment: 1
  251. -- font id: 0
  252. -- text size: 12
  253. -- style flags: 0
  254. -- line height: 16
  255. -- part name: Locations Stack Button
  256. ----- HyperTalk script -----
  257. on mouseUp
  258.   set cursor to 4
  259.   push card
  260.   visual effect dissolve  to white
  261.   visual effect dissolve
  262.   go to stack "Locations"
  263. end mouseUp
  264.  
  265.  
  266.  
  267.  
  268. -- part 13 (button)
  269. -- low flags: 00
  270. -- high flags: 2000
  271. -- rect: left=0 top=59 right=96 bottom=42
  272. -- title width / last selected line: 0
  273. -- icon id / first selected line: 2002 / 2002
  274. -- text alignment: 1
  275. -- font id: 0
  276. -- text size: 12
  277. -- style flags: 0
  278. -- line height: 16
  279. -- part name: Client Stack Button
  280. ----- HyperTalk script -----
  281. on mouseUp
  282.   set cursor to 4
  283.   push this card
  284.   visual effect dissolve  to white
  285.   visual effect dissolve
  286.   go to stack Clients
  287. end mouseUp
  288.  
  289.  
  290.  
  291. -- part 14 (button)
  292. -- low flags: 00
  293. -- high flags: 2000
  294. -- rect: left=47 top=301 right=331 bottom=79
  295. -- title width / last selected line: 0
  296. -- icon id / first selected line: 29114 / 29114
  297. -- text alignment: 1
  298. -- font id: 0
  299. -- text size: 12
  300. -- style flags: 0
  301. -- line height: 16
  302. -- part name: return
  303. ----- HyperTalk script -----
  304. on mouseUp
  305.   visual effect wipe left fast to black
  306.   visual effect wipe right fast
  307.   pop card
  308. end mouseUp
  309.  
  310.  
  311.  
  312. -- part 15 (button)
  313. -- low flags: 00
  314. -- high flags: 2000
  315. -- rect: left=9 top=183 right=213 bottom=35
  316. -- title width / last selected line: 0
  317. -- icon id / first selected line: 0 / 0
  318. -- text alignment: 1
  319. -- font id: 0
  320. -- text size: 12
  321. -- style flags: 0
  322. -- line height: 16
  323. -- part name: memos
  324. ----- HyperTalk script -----
  325. on mouseUp
  326.   beep
  327.   answer "You are already in the Memo Stack."
  328. end mouseUp
  329.  
  330.  
  331.  
  332. -- part 16 (button)
  333. -- low flags: 00
  334. -- high flags: 2000
  335. -- rect: left=2 top=140 right=177 bottom=39
  336. -- title width / last selected line: 0
  337. -- icon id / first selected line: 18814 / 18814
  338. -- text alignment: 1
  339. -- font id: 0
  340. -- text size: 12
  341. -- style flags: 0
  342. -- line height: 16
  343. -- part name: Call Sheets
  344. ----- HyperTalk script -----
  345. on mouseUp
  346.   set cursor to 4
  347.   push this card
  348.   visual effect dissolve to white
  349.   visual effect dissolve
  350.   go to last card in stack call sheets
  351. end mouseUp
  352.  
  353.  
  354.  
  355. -- part 19 (button)
  356. -- low flags: 00
  357. -- high flags: 2000
  358. -- rect: left=2 top=104 right=134 bottom=38
  359. -- title width / last selected line: 0
  360. -- icon id / first selected line: 0 / 0
  361. -- text alignment: 1
  362. -- font id: 0
  363. -- text size: 12
  364. -- style flags: 0
  365. -- line height: 16
  366. -- part name: jobs stack button
  367. ----- HyperTalk script -----
  368. on mouseUp
  369.   set cursor to 4
  370.   push this card
  371.   visual effect dissolve  to white
  372.   visual effect dissolve
  373.   go to last card in stack Job File
  374. end mouseUp
  375.  
  376.  
  377.  
  378. -- part 20 (field)
  379. -- low flags: 80
  380. -- high flags: 0001
  381. -- rect: left=208 top=24 right=58 bottom=503
  382. -- title width / last selected line: 0
  383. -- icon id / first selected line: 0 / 0
  384. -- text alignment: 0
  385. -- font id: 3
  386. -- text size: 12
  387. -- style flags: 0
  388. -- line height: 16
  389. -- part name: hidden keywords
  390.  
  391.  
  392. -- part 23 (button)
  393. -- low flags: 00
  394. -- high flags: A003
  395. -- rect: left=100 top=292 right=311 bottom=207
  396. -- title width / last selected line: 0
  397. -- icon id / first selected line: 0 / 0
  398. -- text alignment: 1
  399. -- font id: 0
  400. -- text size: 12
  401. -- style flags: 0
  402. -- line height: 16
  403. -- part name: Delete Memo
  404. ----- HyperTalk script -----
  405. on mouseUp
  406.   play harpsichord
  407.   answer "Delete this entire Memo Card?" with "Cancel" or "Yes"
  408.   visual effect venetian blinds slow to gray
  409.   visual effect dissolve
  410.   if it is "Yes" then domenu "Delete Card"
  411. end mouseUp
  412.  
  413.  
  414.  
  415. -- part 24 (button)
  416. -- low flags: 00
  417. -- high flags: A003
  418. -- rect: left=220 top=292 right=311 bottom=326
  419. -- title width / last selected line: 0
  420. -- icon id / first selected line: 0 / 0
  421. -- text alignment: 1
  422. -- font id: 0
  423. -- text size: 12
  424. -- style flags: 0
  425. -- line height: 16
  426. -- part name: Create Memo
  427. ----- HyperTalk script -----
  428. on mouseUp
  429.   play harpsichord
  430.   visual effect scroll left
  431.   answer "Same Job No. as this one?" with "Cancel" or "No" or "Yes"
  432.   put it into holder
  433.   if holder is "yes" then
  434.     put background field "job #"  into temp
  435.     put background field "client" into temp2
  436.  
  437.     put bkgnd field "title" into temp4
  438.     put bkgnd field "phone" into temp5
  439.     domenu "new Card"
  440.     put the short date into background field date
  441.     put the time into background field time
  442.     put temp into background field "job #"
  443.     put temp2 into bkgnd field "client"
  444.  
  445.     put temp4 into bkgnd field "title"
  446.     put temp5 into bkgnd field "phone"
  447.     get the loc of bkgnd field "Subject"
  448.     click at it
  449.   end if
  450.  
  451.  
  452.   if it is "cancel" then
  453.     exit mouseup
  454.   end if
  455.  
  456.   if holder is "No" then
  457.     domenu "new Card"
  458.     ask "Enter Job No."
  459.     put it into holder2
  460.     if holder2 is empty then
  461.       exit mouseup
  462.     end if
  463.  
  464.     set cursor to 4
  465.     push this card
  466.     set lockscreen to true
  467.     go to stack "job file"
  468.     find holder2 in background field "job #"
  469.     if the result is empty then
  470.       put line 2 of bkgnd field "client" into temp
  471.  
  472.       put bkgnd field "title" into temp3
  473.       put bkgnd field "phone" into temp4
  474.       pop card
  475.       put it into bkgnd field "job #"
  476.       put temp into bkgnd field "client"
  477.  
  478.       put temp3 into bkgnd field "title"
  479.       put temp4 into bkgnd field "phone"
  480.       put the short date into background field date
  481.       put the time into background field time
  482.       set lockscreen to false
  483.       get the loc of bkgnd field "subject"
  484.       click at it
  485.     else if the result is not empty then
  486.       beep
  487.       answer "Can't find that Job File. Start new one?" with "Cancel" or "Okay"
  488.  
  489.       if it is "cancel" then
  490.         pop card
  491.         put holder2 into bkgnd field "job #"
  492.         exit mouseup
  493.       end if
  494.  
  495.       if it is "okay" then domenu "new card"
  496.       put holder2 into bkgnd field "job #"
  497.       set lockscreen to false
  498.       get the loc of bkgnd field "job #"
  499.       click at it
  500.       tabkey
  501.  
  502.     end if
  503.   end if
  504. end mouseUp
  505.  
  506.  
  507.  
  508. -- part 25 (field)
  509. -- low flags: 00
  510. -- high flags: 4000
  511. -- rect: left=110 top=68 right=85 bottom=263
  512. -- title width / last selected line: 0
  513. -- icon id / first selected line: 0 / 0
  514. -- text alignment: 0
  515. -- font id: 3
  516. -- text size: 12
  517. -- style flags: 0
  518. -- line height: 16
  519. -- part name: Job #
  520.  
  521.  
  522. -- part 26 (field)
  523. -- low flags: 00
  524. -- high flags: 4000
  525. -- rect: left=314 top=68 right=87 bottom=499
  526. -- title width / last selected line: 0
  527. -- icon id / first selected line: 0 / 0
  528. -- text alignment: 0
  529. -- font id: 3
  530. -- text size: 12
  531. -- style flags: 0
  532. -- line height: 16
  533. -- part name: Title
  534.  
  535.  
  536. -- part 28 (field)
  537. -- low flags: 00
  538. -- high flags: 4000
  539. -- rect: left=110 top=86 right=103 bottom=279
  540. -- title width / last selected line: 0
  541. -- icon id / first selected line: 0 / 0
  542. -- text alignment: 0
  543. -- font id: 3
  544. -- text size: 12
  545. -- style flags: 0
  546. -- line height: 16
  547. -- part name: Client
  548.  
  549.  
  550. -- part 32 (field)
  551. -- low flags: 00
  552. -- high flags: 4000
  553. -- rect: left=341 top=88 right=104 bottom=499
  554. -- title width / last selected line: 0
  555. -- icon id / first selected line: 0 / 0
  556. -- text alignment: 0
  557. -- font id: 3
  558. -- text size: 12
  559. -- style flags: 0
  560. -- line height: 16
  561. -- part name: Phone
  562.  
  563.  
  564. -- part 29 (field)
  565. -- low flags: 00
  566. -- high flags: 0004
  567. -- rect: left=66 top=122 right=139 bottom=290
  568. -- title width / last selected line: 0
  569. -- icon id / first selected line: 0 / 0
  570. -- text alignment: 0
  571. -- font id: 3
  572. -- text size: 12
  573. -- style flags: 0
  574. -- line height: 16
  575. -- part name: Subject
  576.  
  577.  
  578. -- part 30 (field)
  579. -- low flags: 00
  580. -- high flags: 0004
  581. -- rect: left=296 top=122 right=139 bottom=393
  582. -- title width / last selected line: 0
  583. -- icon id / first selected line: 0 / 0
  584. -- text alignment: 1
  585. -- font id: 3
  586. -- text size: 12
  587. -- style flags: 0
  588. -- line height: 16
  589. -- part name: Date
  590.  
  591.  
  592. -- part 31 (field)
  593. -- low flags: 00
  594. -- high flags: 0004
  595. -- rect: left=400 top=122 right=139 bottom=496
  596. -- title width / last selected line: 0
  597. -- icon id / first selected line: 0 / 0
  598. -- text alignment: 1
  599. -- font id: 3
  600. -- text size: 12
  601. -- style flags: 0
  602. -- line height: 16
  603. -- part name: Time
  604.  
  605.  
  606. -- part 22 (field)
  607. -- low flags: 00
  608. -- high flags: 6004
  609. -- rect: left=66 top=141 right=291 bottom=498
  610. -- title width / last selected line: 0
  611. -- icon id / first selected line: 0 / 0
  612. -- text alignment: 0
  613. -- font id: 3
  614. -- text size: 12
  615. -- style flags: 0
  616. -- line height: 14
  617. -- part name: Notes
  618.  
  619.  
  620. -- part 34 (button)
  621. -- low flags: 00
  622. -- high flags: A003
  623. -- rect: left=337 top=292 right=310 bottom=444
  624. -- title width / last selected line: 0
  625. -- icon id / first selected line: 0 / 0
  626. -- text alignment: 1
  627. -- font id: 0
  628. -- text size: 12
  629. -- style flags: 0
  630. -- line height: 16
  631. -- part name: Print Memo
  632. ----- HyperTalk script -----
  633. on mouseUp
  634.   play harpsichord
  635.   ask "Address Memo To:"
  636.  
  637.   if it is empty then
  638.     exit mouseup
  639.   end if
  640.  
  641.   put it into temp
  642.   set lockscreen to true
  643.   set cursor to 4
  644.   put "PRODUCTION MEMO" into holder
  645.   put  bkgnd field "date"  into holder2
  646.   put bkgnd field "time" into holder3
  647.   put bkgnd field "Client" into holder4
  648.   put bkgnd field "subject" into holder5
  649.   put bkgnd field "notes" into holder6
  650.   show bkgnd field "hidden memo"
  651.   put holder into line 4 of bkgnd field id 35
  652.   put space & space & space & space & space after word 2 in line 4 of bkgnd field id 35
  653.   put "TO:" after word 5 in line 4 of bkgnd field id 35
  654.   put space  after word 6 in line 4 of bkgnd field id 35
  655.   put temp after word 8 in line 4 of bkgnd field id 35
  656.   put holder2 into line 6 of bkgnd field id 35
  657.   put space & space & space & space after first word in line 6 of bkgnd field id 35
  658.   put holder3 after word 4 in line 6 of bkgnd field id 35
  659.   put "CLIENT:  " into line 7 of bkgnd field id 35
  660.   put space after first word in line 7 of bkgnd field id 35
  661.   put holder4 after second word in line 7 of bkgnd field id 35
  662.   put "SUBJECT:" into line 8 of bkgnd field id 35
  663.   put space & space after first word of line 8 of bkgnd field id 35
  664.   put holder5 after word 3 of line 8 of bkgnd field id 35
  665.   put holder6 into line 10 of bkgnd field id 35
  666.   domenu "print card"
  667.   hide bkgnd field id 35
  668.   put empty into bkgnd field id 35
  669.   set lockscreen to false
  670.  
  671.  
  672. end mouseUp
  673.  
  674.  
  675.  
  676. -- part 37 (button)
  677. -- low flags: 00
  678. -- high flags: 2000
  679. -- rect: left=4 top=300 right=334 bottom=40
  680. -- title width / last selected line: 0
  681. -- icon id / first selected line: 17343 / 17343
  682. -- text alignment: 1
  683. -- font id: 0
  684. -- text size: 12
  685. -- style flags: 0
  686. -- line height: 16
  687. -- part name: Application
  688. ----- HyperTalk script -----
  689. on mouseUp
  690.   play harpsichord
  691.   ask "Which application would you like to open?"
  692.   if it is not empty then
  693.     suspend
  694.     open it
  695.   else if it is empty then
  696.     exit mouseup
  697.   end if
  698.  
  699. end mouseUp
  700.  
  701.  
  702.  
  703. -- part 36 (button)
  704. -- low flags: 00
  705. -- high flags: 2000
  706. -- rect: left=1 top=23 right=55 bottom=42
  707. -- title width / last selected line: 0
  708. -- icon id / first selected line: 0 / 0
  709. -- text alignment: 1
  710. -- font id: 0
  711. -- text size: 12
  712. -- style flags: 0
  713. -- line height: 16
  714. -- part name: filmpro
  715. ----- HyperTalk script -----
  716. on mouseUp
  717.   set cursor to 4
  718.   push this card
  719.   visual effect dissolve to white
  720.   visual effect dissolve
  721.   go to card id 2844 of stack "FilmPro "
  722. end mouseUp
  723.  
  724.  
  725.  
  726.  
  727. -- part 35 (field)
  728. -- low flags: 80
  729. -- high flags: 2001
  730. -- rect: left=0 top=0 right=342 bottom=512
  731. -- title width / last selected line: 0
  732. -- icon id / first selected line: 0 / 0
  733. -- text alignment: 0
  734. -- font id: 3
  735. -- text size: 12
  736. -- style flags: 0
  737. -- line height: 16
  738. -- part name: hidden memo
  739. ----- HyperTalk script -----
  740. on MouseWithin
  741.  
  742.   hide bkgnd field "hidden memo"
  743.  
  744. end MouseWithin
  745.